package api

import (
	"fmt"
	"github.com/gogf/gf-demos/library/response"
	"github.com/gogf/gf/net/ghttp"
)

type Controller struct{}

// @summary 说HelloWorld
// @tags    api服务
// @produce json
// @router  /api/SayHelloWorld [GET]
// @success 200 "string"
func (c *Controller) SayHelloWorld(r *ghttp.Request) {
	fmt.Println("你好,世界！~LC")
	response.JsonExit(r, 0, "success LC", "HelloWorld For LC Go")
}
